home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb-4.5 / sun4.md / bfd / doc / Makefile < prev    next >
Makefile  |  1992-06-24  |  9KB  |  296 lines

  1. # This file was generated automatically by configure.  Do not edit.
  2. host_alias = sun4
  3. host_cpu = sparc
  4. host_vendor = sun
  5. host_os = sunos411
  6. target_alias = sun4
  7. target_cpu = sparc
  8. target_vendor = sun
  9. target_os = sunos411
  10. target_makefile_frag = 
  11. host_makefile_frag = 
  12. site_makefile_frag = 
  13. links = 
  14. VPATH = .
  15. ALL=all.internal
  16. #
  17. # Makefile
  18. #   Copyright (C) 1990, 1991, 1992 Free Software Foundation
  19. #
  20. # This file is free software; you can redistribute it and/or modify
  21. # it under the terms of the GNU General Public License as published by
  22. # the Free Software Foundation; either version 2 of the License, or
  23. # (at your option) any later version.
  24. # This program is distributed in the hope that it will be useful,
  25. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  26. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  27. # GNU General Public License for more details.
  28. # You should have received a copy of the GNU General Public License
  29. # along with this program; if not, write to the Free Software
  30. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  31. #
  32.  
  33. srcdir = .
  34.  
  35. prefix = /usr/local
  36.  
  37. exec_prefix = $(prefix)
  38. bindir = $(exec_prefix)/bin
  39. libdir = $(exec_prefix)/lib
  40.  
  41. datadir = $(prefix)/lib
  42. mandir = $(prefix)/man
  43. man1dir = $(mandir)/man1
  44. man2dir = $(mandir)/man2
  45. man3dir = $(mandir)/man3
  46. man4dir = $(mandir)/man4
  47. man5dir = $(mandir)/man5
  48. man6dir = $(mandir)/man6
  49. man7dir = $(mandir)/man7
  50. man8dir = $(mandir)/man8
  51. man9dir = $(mandir)/man9
  52. infodir = $(prefix)/info
  53. includedir = $(prefix)/include
  54. docdir = $(datadir)/doc
  55.  
  56. MKDOC=./chew
  57. SHELL = /bin/sh
  58.  
  59. INSTALL = install -c
  60. INSTALL_PROGRAM = $(INSTALL)
  61. INSTALL_DATA = $(INSTALL)
  62.  
  63. AR = ar
  64. AR_FLAGS = qv
  65. BISON = bison
  66. MAKEINFO = makeinfo
  67. RANLIB = ranlib
  68.  
  69. #### Host, target, and site specific Makefile fragments come in here.
  70. ###
  71.  
  72. CFLAGS = $(H_CFLAGS) -I.. -I$(srcdir)/.. -I$(srcdir)/../../include 
  73.  
  74. # main GDB source directory
  75.  
  76. DOCFILES = aoutx.texi  archive.texi archures.texi \
  77.     bfd.texi  cache.texi coffcode.texi \
  78.     core.texi  format.texi  libbfd.texi  \
  79.     opncls.texi  reloc.texi  section.texi  \
  80.     syms.texi  targets.texi init.texi ctor.texi
  81.  
  82. PROTOS = archive.p archures.p bfd.p \
  83.      core.p format.p \
  84.     libbfd.p opncls.p reloc.p \
  85.     section.p syms.p targets.p  \
  86.     format.p  core.p init.p
  87.  
  88. IPROTOS = cache.ip libbfd.ip reloc.ip init.ip archures.ip ctor.ip coffcode.ip
  89.  
  90. # SRCDOC, SRCPROT, SRCIPROT only used to sidestep Sun Make bug in interaction 
  91. # between VPATH and suffix rules.  If you use GNU Make, perhaps other Makes,
  92. # you don't need these three:
  93. SRCDOC = $(srcdir)/../aoutx.h  $(srcdir)/../archive.c \
  94.     $(srcdir)/../archures.c $(srcdir)/../bfd.c \
  95.     $(srcdir)/../cache.c $(srcdir)/../coffcode.h \
  96.     $(srcdir)/../core.c  $(srcdir)/../format.c \
  97.     $(srcdir)/../libbfd.c $(srcdir)/../opncls.c \
  98.     $(srcdir)/../reloc.c  $(srcdir)/../section.c \
  99.     $(srcdir)/../syms.c  $(srcdir)/../targets.c \
  100.     $(srcdir)/../init.c
  101.  
  102. SRCPROT = $(srcdir)/../archive.c $(srcdir)/../archures.c \
  103.     $(srcdir)/../bfd.c $(srcdir)/../coffcode.h $(srcdir)/../core.c \
  104.     $(srcdir)/../format.c $(srcdir)/../libbfd.c \
  105.     $(srcdir)/../opncls.c $(srcdir)/../reloc.c \
  106.     $(srcdir)/../section.c $(srcdir)/../syms.c \
  107.     $(srcdir)/../targets.c $(srcdir)/../init.c    
  108.  
  109. SRCIPROT = $(srcdir)/../cache.c $(srcdir)/../libbfd.c \
  110.     $(srcdir)/../reloc.c $(srcdir)/../cpu-h8300.c \
  111.     $(srcdir)/../cpu-i960.c $(srcdir)/../archures.c \
  112.     $(srcdir)/../init.c $(srcdir)/../ctor.c
  113.  
  114. STAGESTUFF = $(DOCFILES) *.info*
  115.  
  116. all install:
  117.  
  118. info: bfd.info
  119.  
  120. install-info: info
  121.     for i in *.info* ; do \
  122.         $(INSTALL_DATA) $$i $(infodir)/$$i ; \
  123.     done
  124.  
  125. docs: $(MKDOC) protos bfd.info bfd.dvi bfd.ps
  126.  
  127. $(MKDOC): chew.c
  128.     $(CC) $(CFLAGS) -o $(MKDOC) $(srcdir)/chew.c $(LOADLIBES)
  129.  
  130. protos: libbfd.h libcoff.h bfd.h
  131.  
  132. aoutx.texi: $(MKDOC) $(srcdir)/../aoutx.h $(srcdir)/doc.str
  133.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.texi
  134.  
  135. archive.texi: $(MKDOC) $(srcdir)/../archive.c $(srcdir)/doc.str
  136.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.texi 
  137.  
  138. archures.texi:  $(srcdir)/../archures.c $(srcdir)/doc.str
  139.     $(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../archures.c >archures.texi 
  140.  
  141. bfd.texi: $(MKDOC) $(srcdir)/../bfd.c $(srcdir)/doc.str
  142.     $(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfd.c >bfd.texi
  143.  
  144. cache.texi: $(MKDOC) $(srcdir)/../cache.c $(srcdir)/doc.str
  145.     $(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../cache.c >cache.texi
  146.  
  147. coffcode.texi:    $(MKDOC) $(srcdir)/../coffcode.h $(srcdir)/doc.str
  148.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../coffcode.h >coffcode.texi
  149.  
  150. core.texi: $(MKDOC) $(srcdir)/../core.c $(srcdir)/doc.str
  151.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../core.c >core.texi
  152.  
  153. format.texi: $(MKDOC) $(srcdir)/../format.c $(srcdir)/doc.str
  154.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../format.c >format.texi
  155.  
  156. libbfd.texi: $(MKDOC) $(srcdir)/../libbfd.c $(srcdir)/doc.str
  157.     $(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../libbfd.c >libbfd.texi 
  158.  
  159. opncls.texi: $(MKDOC) $(srcdir)/../opncls.c $(srcdir)/doc.str
  160.     $(MKDOC) -f $(srcdir)/doc.str  <$(srcdir)/../opncls.c >opncls.texi
  161.  
  162. reloc.texi : $(MKDOC) $(srcdir)/../reloc.c
  163.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc.texi 
  164.  
  165. section.texi: $(MKDOC) $(srcdir)/../section.c $(srcdir)/doc.str
  166.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../section.c >section.texi 
  167.  
  168. syms.texi : $(MKDOC) $(srcdir)/../syms.c
  169.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../syms.c >syms.texi
  170.  
  171. targets.texi: $(MKDOC) $(srcdir)/../targets.c $(srcdir)/doc.str
  172.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../targets.c >targets.texi
  173.  
  174. init.texi: $(MKDOC) $(srcdir)/../init.c $(srcdir)/doc.str
  175.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../init.c >init.texi
  176.  
  177. ctor.texi: $(MKDOC) $(srcdir)/../ctor.c $(srcdir)/doc.str
  178.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../ctor.c >ctor.texi
  179.  
  180.  
  181. libbfd.h: $(srcdir)/../libbfd-in.h    \
  182.     $(srcdir)/../init.c        \
  183.     $(srcdir)/../libbfd.c        \
  184.     $(srcdir)/../init.c        \
  185.     $(srcdir)/../libbfd.c        \
  186.     $(srcdir)/../cache.c        \
  187.     $(srcdir)/../ctor.c        \
  188.     $(srcdir)/../reloc.c        \
  189.     $(srcdir)/../cpu-h8300.c    \
  190.     $(srcdir)/../cpu-i960.c        \
  191.     $(srcdir)/../archures.c        \
  192.     $(MKDOC)
  193.     cat $(srcdir)/../libbfd-in.h >libbfd.h 
  194.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../init.c >>libbfd.h
  195.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../libbfd.c >>libbfd.h
  196.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../init.c >>libbfd.h
  197.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../libbfd.c >>libbfd.h
  198.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../cache.c >>libbfd.h
  199.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../ctor.c >>libbfd.h
  200.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../reloc.c >>libbfd.h
  201.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../cpu-h8300.c >>libbfd.h
  202.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../cpu-i960.c >>libbfd.h
  203.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../archures.c >>libbfd.h
  204.  
  205. libcoff.h: $(srcdir)/../libcoff-in.h    \
  206.     $(srcdir)/../coffcode.h \
  207.     $(MKDOC)
  208.     cat $(srcdir)/../libcoff-in.h >libcoff.h
  209.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../coffcode.h >>libcoff.h
  210.  
  211. bfd.h: $(srcdir)/../bfd-in.h         \
  212.     $(srcdir)/../init.c         \
  213.     $(srcdir)/../opncls.c         \
  214.     $(srcdir)/../libbfd.c         \
  215.     $(srcdir)/../section.c         \
  216.     $(srcdir)/../archures.c        \
  217.     $(srcdir)/../reloc.c        \
  218.     $(srcdir)/../syms.c        \
  219.     $(srcdir)/../archive.c        \
  220.     $(srcdir)/../core.c        \
  221.     $(srcdir)/../targets.c        \
  222.     $(srcdir)/../format.c        \
  223.     $(MKDOC)
  224.     cat $(srcdir)/../bfd-in.h >bfd.h
  225.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../init.c >>bfd.h
  226.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../opncls.c >>bfd.h
  227.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../libbfd.c >>bfd.h
  228.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../section.c >>bfd.h
  229.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../archures.c >>bfd.h
  230.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../reloc.c >>bfd.h
  231.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../syms.c >>bfd.h
  232.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../bfd.c >>bfd.h
  233.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../archive.c >>bfd.h
  234.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../core.c >>bfd.h
  235.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../targets.c >>bfd.h
  236.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../format.c >>bfd.h    
  237.     echo "#endif" >>bfd.h
  238.  
  239.  
  240. clean-info:
  241.     rm -f $(STAGESTUFF) *.p *.ip  bfd.dvi bfd.ps *~* *# bfd.?? \
  242.     bfd.??? $(MKDOC) bfd.h libbfd.h libcoff.h texput.log 
  243.  
  244. clean:
  245.  
  246. bfd.info: $(DOCFILES) bfd.texinfo
  247.     $(MAKEINFO) -o bfd.info $(srcdir)/bfd.texinfo
  248.  
  249. bfd.dvi: $(DOCFILES) bfd.texinfo
  250.     TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
  251. #    texindex bfd.??
  252. #    TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
  253.  
  254. bfd.ps: bfd.dvi
  255.     dvips bfd -o
  256.     
  257. quickdoc: $(DOCFILES) bfd.texinfo
  258.     TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
  259.  
  260. stage1: force
  261.     - mkdir stage1
  262.     - mv -f $(STAGESTUFF) stage1
  263.  
  264. stage2: force
  265.     - mkdir stage2
  266.     - mv -f $(STAGESTUFF) stage2
  267.  
  268. stage3: force
  269.     - mkdir stage3
  270.     - mv -f $(STAGESTUFF) stage3
  271.  
  272. against=stage2
  273.  
  274. comparison: force
  275.     for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i || exit 1 ; done
  276.  
  277. de-stage1: force
  278.     - (cd stage1 ; mv -f $(STAGESTUFF) ..)
  279.     - rmdir stage1
  280.  
  281. de-stage2: force
  282.     - (cd stage2 ; mv -f $(STAGESTUFF) ..)
  283.     - rmdir stage2
  284.  
  285. de-stage3: force
  286.     - (cd stage3 ; mv -f $(STAGESTUFF) ..)
  287.     - rmdir stage3
  288.  
  289. force:
  290.  
  291. Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
  292.     $(SHELL) ./config.status
  293.  
  294.